package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Sports;

import java.util.List;

public interface SportsDao {
    void add(Sports sports);

    Page<Sports> findByCondition(Object condition);

    void delete(Integer id);

    void edit(Sports sports);

    Sports findById(Integer id);

    List<Sports> findAll();
}
